﻿using System;
using System.Collections.Generic;
using System.Text;

namespace CeA.Reports.Atendimento.DataAccess.Criteria {

    public class RelatorioServicoFilter {
        private DateTime m_dataIncidencia;

        public RelatorioServicoFilter()                                 {
            m_dataIncidencia = DateTime.Now;
        }


        public RelatorioServicoFilter(DateTime dataIncidencia)          {
            m_dataIncidencia = dataIncidencia;
        }

        public List<int> RfsList
        {
            get;
            set;
        }

        public List<int> RegiaoList
        {
            get;
            set;
        }

        public List<int> LojaList                                       { 
            get; set; 
        }


        public List<int> ServicoList                                    {
            get;
            set;
        }


        public DateTime DataIncidencia                                  {
            get { return m_dataIncidencia; }
            set { m_dataIncidencia = value; }
        }

        public RelatorioServicoFilter addRfs(int id) {
            RfsList.Add(id);
            return this;
        }

        public RelatorioServicoFilter addRegiao(int id) {
            RegiaoList.Add(id);
            return this;
        }

        public RelatorioServicoFilter addLoja(int id)                   {
            LojaList.Add(id);
            return this;
        }


        public RelatorioServicoFilter addServico(int id)                {
            ServicoList.Add(id);
            return this;
        } 
    }
}


